package com.demo.designmode.visitor;

/**
 * @Author: jxm
 * @Description: 抽象访问者角色类
 * @Date: 2023-12-12 15:26
 * @Version: 1.0
 */
public interface Person {

    //喂食宠物猫
    void feed(Cat cat);
    //喂食宠物狗
    void feed(Dog dog);
}
